package main

func main() {
	DB.Config.Logger = mysqlLogger
	s1 := Student{ID: 1, Age: 111}
	s2 := Student{Age: 122}
	DB.Save(s1) //尽量不要Save来update，各种乱七八糟，不如明确点，或者在查询+修改后save
	DB.Save(s2)

	//DB.Save(s1)
}
